#ifndef PSD_IO_UDP_H
#define PSD_IO_UDP_H

#include <sys/socket.h>
#include <pthread.h>

#include "psd_conn.h"

typedef struct psd_connection_udp_data_t {
        pthread_mutex_t lock;
	struct sockaddr si_other;
	int slen;

	int max_dgram_size;
        int closed;
        int sd;
} psdConn_udpData;

psdConn *psd_conn_udp_alloc(int sd);

#endif
